/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ch.easer.zlv;

import ch.easer.framework.AbstractCrudFacade;
import ch.easer.zlv.entity.Zahlung;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author easy
 */
@Stateless
public class ZahlungFacade extends AbstractCrudFacade<Zahlung> {
    @PersistenceContext(unitName = "mysqlPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public ZahlungFacade() {
        super(Zahlung.class);
    }
    
}
